<div class="row">

    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        <div class="page-title text-left">
                <a href="#{:U("passage/add")}" target="_self" id="new-btn" class="btn btn-primary"><i class="fa fa-plus-circle "></i>&nbsp;&nbsp;添加</a>
        </div>
    </div>
</div>

<!-- widget grid -->
<section id="widget-grid" class="">

    <!-- row -->
    <div class="row">

        <!-- NEW WIDGET START -->
        <article class="col-xs-12 col-sm-12 col-md-12 col-lg-12">

            <!-- Widget ID (each widget will need unique ID)-->
            <div class="jarviswidget jarviswidget-color-blueDark" id="sales-globals-1" data-widget-editbutton="false" data-widget-deletebutton="false">
                <header>
                    <span class="widget-icon"> <i class="fa fa-table"></i> </span>
                    <h2>文章列表</h2>
                </header>

                <!-- widget div-->
                <div>

                    <!-- widget edit box -->
                    <div class="jarviswidget-editbox">
                        <!-- This area used as dropdown edit box -->

                    </div>
                    <!-- end widget edit box -->

                    <!-- widget content -->
                    <div class="widget-body no-padding">

                        <div class="widget-body-toolbar">
                        </div>
                        <table id="datatable" class="table table-striped table-bordered smart-form table-responsive table-hover">
                            <thead>
                                <tr>
                                        <th class="text-center">ID</th>
                                        <th class="text-center">文章标题</th>
                                       
                                        <th class="text-center">积分</th>                
                                        <th class="text-center">创建时间</th>
                                        <th class="text-center">状态</th>
                                </tr>
                            </thead>
                            <tbody>

                            </tbody>
                        </table>


                    </div>
                    <!-- end widget content -->

                </div>
                <!-- end widget div -->

            </div>
            <!-- end widget -->

        </article>
        <!-- WIDGET END -->

    </div>

    <!-- end row -->

</section>
<!-- end widget grid -->

<script type="text/javascript">
    pageSetUp();

    var langage=
    {
        "sZeroRecords": "没有检索到数据",
        "sInfo": "当前数据为从第 _START_ 到第 _END_ 条数据；总共有 _TOTAL_ 条记录",
        "sInfoEmtpy": "没有数据",
        "sProcessing": "正在加载数据...",
        "oPaginate":
        {
            "sFirst": "首页",
            "sPrevious": "前一页",
            "sNext": "后一页",
            "sLast": "尾页"
        }
    };

    var sAjaxSource = "{:U('passage/index',array('_a'=>'passagedata'))}";
    loadScript('js/plugin/datatables/jquery.dataTables-cust.min.js',function()
    {
        loadScript('js/plugin/datatables/media/js/TableTools.min.js',function()
        {
            loadScript('js/plugin/datatables/DT_bootstrap.js',function()
            {
                loadScript('js/app/passage_index.js',function()
                {
                	initPassageIndex();
                });
            });
        });
    });
</script>